class HuntHimProj extends ROBallisticProjectile;

simulated function PostBeginPlay()
{
	if(Instigator==None) return;
	Super.PostBeginPlay();
}

simulated function ProcessTouch(Actor Other, Vector HitLocation)
{
	local Reaper R;
	if( Pawn(Other)==None)
		return;
	foreach AllActors(class'Reaper', R)
	{
		R.AddVictim(Pawn(Other));
	}
}

simulated function Explode(vector HitLocation, vector HitNormal)
{
	Local Actor A;
//	Local KFMonster K;
//	local AcidGunWProj p;
//	local KFPlayerReplicationInfo KFPRI;
	local Reaper R;
	
//	local int i;

	if (ROLE == ROLE_Authority)
	{
		Log("_____Start_____");
		foreach CollidingActors (class 'Actor', A, DamageRadius, HitLocation)
		{
			if(Pawn(A)==None)
				continue;
			foreach AllActors(class'Reaper', R)
			{
				R.AddVictim(Pawn(A));
			}
		}
		Log("____End____");
	}
	SetPhysics(PHYS_None);
	if(Level.NetMode != NM_DedicatedServer)
	{
		//Spawn(class'ROBulletHitEffect',,, Location, rotator(-HitNormal));
		//Spawn(class'PerksSimHostOrg.FAcidM7A3MEmitter',,,Location,rotator(-HitNormal));
		//Spawn(class'PerksSimHostOrg.FAcidEmitter',,,HitLocation + HitNormal*20,rotator(HitNormal));
		//Spawn(class'PerksSimHostOrg.AcidGunWBlutsaugerEmitter',,,HitLocation + HitNormal*20,rotator(HitNormal));
	} 
	BlowUp(HitLocation);
	Destroy();
}

simulated function HitWall(vector HitNormal, actor Wall)
{
	local Reaper R;
	if(Pawn(Wall)==None)
		return;
	foreach AllActors(class'Reaper', R)
	{
		R.AddVictim(Pawn(Wall));
	}
}

defaultproperties
{
     Speed=100000.000000
     DamageRadius=180.000000
     LifeSpan=1.000000
}
